package cn.edu.scau.cmi.lixiaoyuan.client;



import cn.edu.scau.cmi.lixiaoyuan.simpleFactoryMethod.MeatFactory;
import cn.edu.scau.cmi.lixiaoyuan.simpleFactoryMethod.domain.Meat;

public class SimpleFactoryMethodClient {
     public static void main(String[] args) {
		MeatFactory meatFactory = new MeatFactory();
		Meat beef = meatFactory.getMeat("beef");
		beef.cook();
		Meat pork = meatFactory.getMeat("pork");
		pork.cook();
	}
}
